home *** CD-ROM | disk | FTP | other *** search
/ New Star Software Collection / NSS_Collection.iso / 3-329 totally portable hd para / 1.ima / INSTALL.BAT < prev    next >
DOS Batch File  |  1997-06-22  |  2KB  |  126 lines

  1. @echo off
  2. if "%1"=="/F" goto DOS_INST
  3. if "%1"=="/f" goto DOS_INST
  4. call dos_ver
  5. if errorlevel 7 goto EXIT2
  6.  
  7. :DOS_INST
  8. cls
  9. call banner_s
  10. cls
  11. echo.
  12. echo.
  13. echo.
  14. echo Please Specify The Installation:
  15. echo.
  16. echo        1. Parallel Port CD-ROM Drive
  17. echo        2. Parallel Port Hard Disk Drive
  18. echo        Q. Quit Installation
  19. echo.
  20. echo        Type 1, 2 to select or Q to quit...
  21. echo.
  22. call sel /3
  23. if errorlevel 3 goto EXIT1
  24. if errorlevel 2 goto PARAHD
  25. if errorlevel 1 goto PARACD
  26.  
  27. :PARACD
  28. cls
  29. echo.
  30. echo.
  31. echo.
  32. echo.
  33. echo.
  34. echo.
  35. echo           Installation is about to install Parallel Port CD-ROM driver...
  36. echo.
  37. echo.
  38. echo           Would you like to continue?
  39. echo           1. Yes
  40. echo           Q. Quit
  41. echo.
  42. echo           Type 1 to select or Q to quit...
  43. echo.
  44. call sel /2
  45. if errorlevel 2 goto EXIT1
  46. md c:\commuter
  47. copy patapicd.sys c:\commuter
  48. copy c:\config.sys c:\config.dst
  49. type paracd.ins >> c:\config.sys
  50. copy c:\autoexec.bat c:\autoexec.dst
  51. copy autoexec.ins c:\
  52. type c:\autoexec.bat >> c:\autoexec.ins
  53. copy c:\autoexec.ins c:\autoexec.bat
  54. del c:\autoexec.ins
  55. call banner_e
  56. goto EXIT
  57.  
  58.  
  59. :PARAHD
  60. cls
  61. echo.
  62. echo.
  63. echo.
  64. echo.
  65. echo.
  66. echo.
  67. echo           Installation is about to install Parallel Port Hard Disk driver...
  68. echo.
  69. echo.
  70. echo           Would you like to continue?
  71. echo           1. Yes
  72. echo           Q. Quit
  73. echo.
  74. echo           Type 1 to select or Q to quit...
  75. echo.
  76. call sel /2
  77. if errorlevel 2 goto EXIT1
  78. call cdisk
  79. goto EXIT
  80.  
  81. :EXIT2
  82. cls
  83. echo.
  84. echo.
  85. echo.
  86. echo.
  87. echo.
  88. echo.
  89. echo              This utility only install drivers for DOS system
  90. echo              If you still would like to install in a non-DOS 
  91. echo              system, please use
  92. echo.
  93. echo                                INSTALL /F
  94. echo.
  95. echo              to force the installation!
  96. echo.
  97. echo.
  98. echo              To install drivers in Windows 95/NT system, please
  99. echo              refer user's manual for installation procedure.
  100. echo.
  101. echo.
  102. goto EXIT
  103.  
  104. :EXIT1
  105. cls
  106. echo.
  107. echo.
  108. echo.
  109. echo.
  110. echo.
  111. echo.
  112. echo.
  113. echo.
  114. echo.
  115. echo.
  116. echo.
  117. echo.
  118. echo                          Incomplete installation!
  119. echo                              Please try again.
  120. echo.
  121. echo.
  122.  
  123. :EXIT
  124. echo.
  125. echo.
  126.